//
//  CustomGifView.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2021/6/22.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface CustomGifView : UIView

/*
 * @brief desingated initializer
 */
- (id)initWithCenter:(CGPoint)center fileURL:(NSURL*)fileURL;
/*
 * @brief start Gif Animation
 */
- (void)startGif;
/*
 * @brief stop Gif Animation
 */
- (void)stopGif;
/*
 * @brief get frames image(CGImageRef) in Gif
 */
+ (NSArray*)framesInGif:(NSURL*)fileURL;

@end

NS_ASSUME_NONNULL_END
